#ifndef _COMMON_DEFINE_H
#define _COMMON_DEFINE_H

#include <string>
#include <sstream>
using namespace std;

#include <TCHAR.H>

#ifdef _UNICODE
typedef wstring			_tstring;
typedef wstringstream	_tstringstream;

#else
typedef string			_tstring;
typedef ostringstream	_tstringstream;
#endif

typedef char		STREAM;

#define TYPE_ANSI				0
#define TYPE_UTF16				1 // Unicode 16 - Little Endian
#define TYPE_UTF8				2 // UTF-8
#define TYPE_UTF16_B			3 // Unicode 16 - Big Endian

#pragma warning(disable:4786)

#endif